package com.yunji.cabinet.service;

import com.yunji.cabinet.bo.UpgradeTaskListBO;
import com.yunji.cabinet.domain.UpgradeTaskDO;
import com.yunji.cabinet.params.UpgradeTaskParam;
import com.yunji.cabinet.task.UpgradeTask;
import com.yunji.cabinet.vo.UpgradeTaskVO;

import java.util.ArrayList;
import java.util.List;

public interface IUpgradeTaskService {
    boolean create(UpgradeTaskDO upgradeTaskDO);

    boolean modifyStatus(String taskCode, Integer code, ArrayList<Integer> integers);

    boolean startTask(String taskCode);

    boolean closeTask(String taskCode);

    List<UpgradeTaskVO> searchVOList(UpgradeTaskParam param);

    UpgradeTaskVO selectVO(String taskCode);

    List<UpgradeTaskDO> search(UpgradeTaskListBO bo);
}
